package com.sc.design.PK.behave.command_policy.policy;

/**
 * @author sc
 * Created on  2017/12/8
 */
public class Gzip implements Algorithm {
    @Override
    public boolean compress(String source, String to) {
        System.out.println(source+"gzip压缩成功"+to);
        return true;
    }

    @Override
    public boolean uncompress(String source, String to) {
        System.out.println(source+"gzip解缩成功"+to);
        return true;
    }
}
